package cn.rocksolid.sport.security.entity;

import cn.rocksolid.sport.common.Constant.MenuType;
import cn.rocksolid.sport.common.entity.IdEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 菜单管理
 *
 * @author Axl Zhao
 * @email axl.zhao@163.com
 */
@TableName("t_menu")
@Data
public class MenuEntity extends IdEntity {
  /**
   * serialVersionUID
   */
  private static final long serialVersionUID = 1L;
  /**
   * Parent menu ID
   */
  private String pid;
  /**
   * Menu name
   */
  private String title;
  /**
   * Menu URL
   */
  private String url;
  /**
   * Permissions (e.g. user:list,user:create)
   */
  private String perms;
  /**
   *
   */
  private MenuType type;
  /**
   * Icon of menu
   */
  private String icon;
  /**
   * Sequence of menu of current catalog
   */
  private Integer seq;
  /**
   * Visible of this menu item
   */
  private String v;
}
